package cn.com.roy.thread.t4_1_12.lockmethodtest2;

public class Run {
    public static void main(String[] args) {
        final MyService service = new MyService(true);
        Runnable runnable = new Runnable() {
            public void run() {
                service.testMethod();
            }
        };

        Thread thread =new Thread(runnable);
        thread.start();
    }
}
